﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KPIS.GERP.GFMS.MODEL
{
    [Serializable]
    public class M_FIM_Payments_Payinpack
    {
        private int ID;
        private int? TO_BANK_ACC_ID;
        private string TO_BANK_ACC_NAME;
        private int PIP_ID;
        private int PAY_SEQ;
        private int BGM_SOURCE_SEQ;
        private string BGM_SOURCE_NAME;
        private int WORK_AREA_SEQ;
        private string WORK_AREA_NAME;
        private int BGM_YEAR;
        private string PIP_NO;
        private string PIP_NAME;
        private Nullable<DateTime> PIP_DATE;
        private Nullable<double> NET_AMOUNT;
        private Nullable<double> FEE_AMOUNT;
        private Nullable<int> BANK_ACC_SEQ;
        private string BANK_ACC_NAME;
        private string RECORD_STATUS;
        private string RECORD_STATUS_NAME;
        private Nullable<int> CREATED_BY;
        private Nullable<DateTime> CREATED_WHEN;
        private Nullable<int> UPDATED_BY;
        private Nullable<DateTime> UPDATED_WHEN;
        private Nullable<int> CONTACT_SEQ;
        private string CONTACT_NAME;
        private string PIP_REF_NO;
        private string PAY_REF_NO;
        private string REQ_REF_NO;

        public M_FIM_Payments_Payinpack()
        {

        }

        public M_FIM_Payments_Payinpack(
            int ID
            , int PIP_ID
            , int PAY_SEQ
            , int BGM_SOURCE_SEQ
            , string BGM_SOURCE_NAME
            , int WORK_AREA_SEQ
            , string WORK_AREA_NAME
            , int BGM_YEAR
            , string PIP_NO
            , string PIP_NAME
            , Nullable<DateTime> PIP_DATE
            , Nullable<double> NET_AMOUNT
            , Nullable<double> FEE_AMOUNT
            , Nullable<int> BANK_ACC_SEQ
            , string BANK_ACC_NAME
            , string RECORD_STATUS
            , string RECORD_STATUS_NAME
            , Nullable<int> CONTACT_SEQ
            , string CONTACT_NAME
            , Nullable<int> CREATED_BY
            , Nullable<DateTime> CREATED_WHEN
            , Nullable<int> UPDATED_BY
            , Nullable<DateTime> UPDATED_WHEN
            ,string PIP_REF_NO
            , int? TO_BANK_ACC_ID
            , string TO_BANK_ACC_NAME
            , string PAY_REF_NO
            , string REQ_REF_NO)
        {
            this.ID = ID;
            this.PIP_ID = PIP_ID;
            this.PAY_SEQ = PAY_SEQ;
            this.BGM_SOURCE_SEQ = BGM_SOURCE_SEQ;
            this.BGM_SOURCE_NAME = BGM_SOURCE_NAME;
            this.WORK_AREA_SEQ = WORK_AREA_SEQ;
            this.WORK_AREA_NAME = WORK_AREA_NAME;
            this.BGM_YEAR = BGM_YEAR;
            this.PIP_NO = PIP_NO;
            this.PIP_NAME = PIP_NAME;
            this.PIP_DATE = PIP_DATE;
            this.NET_AMOUNT = NET_AMOUNT;
            this.FEE_AMOUNT = FEE_AMOUNT;
            this.BANK_ACC_SEQ = BANK_ACC_SEQ;
            this.BANK_ACC_NAME = BANK_ACC_NAME;
            this.CONTACT_SEQ = CONTACT_SEQ;
            this.CONTACT_NAME = CONTACT_NAME;
            this.RECORD_STATUS = RECORD_STATUS;
            this.RECORD_STATUS_NAME = RECORD_STATUS_NAME;
            this.CREATED_BY = CREATED_BY;
            this.CREATED_WHEN = CREATED_WHEN;
            this.UPDATED_BY = UPDATED_BY;
            this.UPDATED_WHEN = UPDATED_WHEN;   
            this.PIP_REF_NO = PIP_REF_NO;
            this.TO_BANK_ACC_ID = TO_BANK_ACC_ID;
            this.TO_BANK_ACC_NAME = TO_BANK_ACC_NAME;
            this.PAY_REF_NO = PAY_REF_NO;
            this.REQ_REF_NO = REQ_REF_NO;
        }

        public string to_bank_acc_name
        {
            set { TO_BANK_ACC_NAME = value; }
            get { return TO_BANK_ACC_NAME; }
        }

        public int? to_bank_acc_id
        {
            set { TO_BANK_ACC_ID = value; }
            get { return TO_BANK_ACC_ID; }
        }

        public int id
        {
            set { ID = value; }
            get { return ID; }
        }

        public int pip_id
        {
            set { PIP_ID = value; }
            get { return PIP_ID; }
        }

        public int pay_seq
        {
            set { PAY_SEQ = value; }
            get { return PAY_SEQ; }
        }

        public int bgm_source_seq
        {
            set { BGM_SOURCE_SEQ = value; }
            get { return BGM_SOURCE_SEQ; }
        }

        public int work_area_seq
        {
            set { WORK_AREA_SEQ = value; }
            get { return WORK_AREA_SEQ; }
        }

        public int bgm_year
        {
            set { BGM_YEAR = value; }
            get { return BGM_YEAR; }
        }

        public Nullable<DateTime> pip_date
        {
            set { PIP_DATE = value; }
            get { return PIP_DATE; }
        }

        public string pip_no
        {
            set { PIP_NO = value; }
            get { return PIP_NO; }
        }

        public string pip_ref_no
        {
            set { PIP_REF_NO = value; }
            get { return PIP_REF_NO; }
        }

        public string pip_name
        {
            set { PIP_NAME = value; }
            get { return PIP_NAME; }
        }
        
        public Nullable<int> contact_seq
        {
            set { CONTACT_SEQ = value; }
            get { return CONTACT_SEQ; }
        }
        
        public Nullable<int> bank_acc_seq
        {
            set { BANK_ACC_SEQ = value; }
            get { return BANK_ACC_SEQ; }
        }

        public Nullable<double> fee_amount
        {
            set { FEE_AMOUNT = value; }
            get { return FEE_AMOUNT; }
        }

        public Nullable<double> net_amount
        {
            set { NET_AMOUNT = value; }
            get { return NET_AMOUNT; }
        }

        public string bgm_source_name
        {
            set { BGM_SOURCE_NAME = value; }
            get { return BGM_SOURCE_NAME; }
        }

        public string work_area_name
        {
            set { WORK_AREA_NAME = value; }
            get { return WORK_AREA_NAME; }
        }
        
        public string contact_name
        {
            set { CONTACT_NAME = value; }
            get { return CONTACT_NAME; }
        }
        
        public string bank_acc_name
        {
            set { BANK_ACC_NAME = value; }
            get { return BANK_ACC_NAME; }
        }

        public string record_status
        {
            set { RECORD_STATUS = value; }
            get { return RECORD_STATUS; }
        }

        public string record_status_name
        {
            set { RECORD_STATUS_NAME = value; }
            get { return RECORD_STATUS_NAME; }
        }

        public Nullable<int> created_by
        {
            set { CREATED_BY = value; }
            get { return CREATED_BY; }
        }

        public Nullable<DateTime> created_when
        {
            set { CREATED_WHEN = value; }
            get { return CREATED_WHEN; }
        }

        public Nullable<int> updated_by
        {
            set { UPDATED_BY = value; }
            get { return UPDATED_BY; }
        }

        public Nullable<DateTime> updated_when
        {
            set { UPDATED_WHEN = value; }
            get { return UPDATED_WHEN; }
        }

        public string pay_ref_no
        {
            set { PAY_REF_NO = value; }
            get { return PAY_REF_NO; }
        }

        public string req_ref_no
        {
            set { REQ_REF_NO = value; }
            get { return REQ_REF_NO; }
        }
    }
}
